#include <QByteArray>

namespace Protocol{
    constexpr char HeadDown[2] = {(char) 0xAA, (char) 0xA5};
    constexpr char HeadUp[2] = {(char) 0xBB, (char) 0xA5};
    constexpr int HeadLen = 2;
    constexpr int LenBit = 1;
    constexpr int CheckLen = 2;

    QByteArray handShakeDown();
}